package net.wofly.sale.stock.service;

import java.util.List;

import net.wofly.sale.stock.domain.ResourceAskList;

public interface IResourceAskListService {

	/**
	 * 增加或修改
	 * 
	 * @param entity
	 * @return
	 */
	public ResourceAskList save(ResourceAskList entity);

	/**
	 * 删除
	 * 
	 * @param entity
	 * @return
	 */
	public void delete(ResourceAskList entity);

	/**
	 * 根据主键ID删除
	 * 
	 * @param key
	 * @return
	 */
	public void delete(String key);

	/**
	 * 根据主键查询
	 * 
	 * @param key
	 * @return
	 */
	public ResourceAskList findOne(String key);
	
	public List<ResourceAskList> save(List<ResourceAskList> entityList) ;

	public void deleteByResourceAskID(String resourceAskID);
	
	public List<ResourceAskList> findByResourceAskID(String resourceAskID) ;
	
	public ResourceAskList findByResourceAskIDAndCommodityTerminalID(String resourceAskID ,String commodityTerminalID) ;

}
